xi: nbreg  iccprmainnumberruds ptscorrectedrev  politycorr polcon5  iccprmainobjections if  iccprmainrat==1, robust cluster(country) 
outreg using c:\table1, replace onecol 3aster
xi: nbreg  iccprmainnumberruds civilrightsreversed  politycorr polcon5  iccprmainobjections if  iccprmainrat==1, robust cluster(country) 
outreg using c:\table1, append onecol 3aster
xi: nbreg  icesrconvruds  politycorr polcon5  icesrconvobjections if icesrconvrat==1, robust cluster(country)
outreg using c:\table1, append onecol 3aster
xi: nbreg  raceconvruds  politycorr polcon5  raceconvobjections if  raceconvratjls==1, robust cluster(country)
outreg using c:\table1, append onecol 3aster
xi: nbreg  raceconvrudsjls  politycorr polcon5  raceconvobjections if  raceconvrat==1, robust cluster(country)
outreg using c:\table1, append onecol 3aster

xi: nbreg  tortureratnumberruds torture politycorr  polcon5  tortureratobjections if  torturerat==1 & country!="Qatar", robust cluster(country) 
outreg using c:\table2, replace onecol 3aster
xi: nbreg  tortureratnumberrudsjls2 torture politycorr  polcon5  tortureratobjections if  torturerat==1, robust cluster(country) 
outreg using c:\table2, append onecol 3aster
xi: nbreg  womenconvnumberruds womensgeneralrights  politycorr  polcon5  womenconvobjections muslim2 if  womenconvrat==1 & country!="Mauritania" & country!="Pakistan" & country!="Saudi Arabia" & country!="Tunisia", robust cluster(country) 
outreg using c:\table2, append onecol 3aster
xi: nbreg  womenconvnumberrudsjls2 womensgeneralrights  politycorr  polcon5  womenconvobjections muslim2 if  womenconvrat==1, robust cluster(country) 
outreg using c:\table2, append onecol 3aster
xi: nbreg  childconvnumberruds nonlaborforcechild politycorr polcon5  childconvobjections muslim2 if  childconvrat==1 & childconvnumberruds==childconvnumberrudsjls, robust cluster(country) 
outreg using c:\table2, append onecol 3aster
xi: nbreg  childconvnumberrudsjls nonlaborforcechild politycorr polcon5  childconvobjections muslim2 if  childconvrat==1, robust cluster(country) 
outreg using c:\table2, append onecol 3aster

** Sensitivity analysis
* Replacing #objections with dummy variable of Nordic countries plus Belgium and Netherlands

xi: nbreg  iccprmainnumberruds ptscorrectedreversed  politycorr polcon5 goodmanlist if  iccprmainrat==1, robust cluster(country) 
outreg using c:\table1, replace onecol 3aster
xi: nbreg  iccprmainnumberruds civilrightsreversed  politycorr polcon5 goodmanlist if  iccprmainrat==1, robust cluster(country) 
outreg using c:\table1, append onecol 3aster
xi: nbreg  icesrconvruds  politycorr polcon5 goodmanlist if icesrconvrat==1, robust cluster(country)
outreg using c:\table1, append onecol 3aster
xi: nbreg  raceconvruds  politycorr polcon5 goodmanlist if  raceconvratjls==1, robust cluster(country)
outreg using c:\table1, append onecol 3aster
xi: nbreg  raceconvrudsjls  politycorr polcon5 goodmanlist if  raceconvrat==1, robust cluster(country)
outreg using c:\table1, append onecol 3aster

xi: nbreg  tortureratnumberruds torture politycorr  polcon5 goodmanlist if  torturerat==1 & country!="Qatar", robust cluster(country) 
outreg using c:\table2, replace onecol 3aster
xi: nbreg  tortureratnumberrudsjls2 torture politycorr  polcon5 goodmanlist if  torturerat==1, robust cluster(country) 
outreg using c:\table2, append onecol 3aster
xi: nbreg  womenconvnumberruds womensgeneralrights  politycorr  polcon5 goodmanlist muslim2 if  womenconvrat==1 & country!="Mauritania" & country!="Pakistan" & country!="Saudi Arabia" & country!="Tunisia", robust cluster(country) 
outreg using c:\table2, append onecol 3aster
xi: nbreg  womenconvnumberrudsjls2 womensgeneralrights  politycorr  polcon5 goodmanlist muslim2 if  womenconvrat==1, robust cluster(country) 
outreg using c:\table2, append onecol 3aster
xi: nbreg  childconvnumberruds nonlaborforcechild politycorr polcon5 goodmanlist muslim2 if  childconvrat==1 & childconvnumberruds==childconvnumberrudsjls, robust cluster(country) 
outreg using c:\table2, append onecol 3aster
xi: nbreg  childconvnumberrudsjls nonlaborforcechild politycorr polcon5 goodmanlist muslim2 if  childconvrat==1, robust cluster(country) 
outreg using c:\table2, append onecol 3aster

* Dropping %Muslim
xi: nbreg  womenconvnumberruds womensgeneralrights  politycorr  polcon5 womenconvobjections if  womenconvrat==1 & country!="Mauritania" & country!="Pakistan" & country!="Saudi Arabia" & country!="Tunisia", robust cluster(country) 
outreg using c:\table2, append onecol 3aster
xi: nbreg  womenconvnumberrudsjls2 womensgeneralrights  politycorr  polcon5 womenconvobjections if  womenconvrat==1, robust cluster(country) 
outreg using c:\table2, append onecol 3aster
xi: nbreg  childconvnumberruds nonlaborforcechild politycorr polcon5 childconvobjections if  childconvrat==1 & childconvnumberruds==childconvnumberrudsjls, robust cluster(country) 
outreg using c:\table2, append onecol 3aster
xi: nbreg  childconvnumberrudsjls nonlaborforcechild politycorr polcon5 childconvobjections if  childconvrat==1, robust cluster(country) 
outreg using c:\table2, append onecol 3aster

* Restricting analysis to year of ratification
xi: nbreg  iccprmainnumberruds ptscorrectedrev  politycorr polcon5 iccprmainobjections if  iccprmainrat==1 & liccprmainrat==0, robust 
outreg using c:\table1, replace onecol 3aster
xi: nbreg  iccprmainnumberruds civilrightsreversed  politycorr polcon5 iccprmainobjections if  iccprmainrat==1 & liccprmainrat==0, robust 
outreg using c:\table1, append onecol 3aster
xi: nbreg  icesrconvruds  politycorr polcon5 icesrconvobjections if icesrconvrat==1 & licesrconvrat==0, robust 
outreg using c:\table1, append onecol 3aster
xi: nbreg  raceconvruds  politycorr polcon5 raceconvobjections if  raceconvratjls==1 & lraceconvratjls==0, robust 
outreg using c:\table1, append onecol 3aster
xi: nbreg  raceconvrudsjls  politycorr polcon5 raceconvobjections if  raceconvrat==1 & lraceconvratjls==0, robust 
outreg using c:\table1, append onecol 3aster

xi: nbreg  tortureratnumberruds torture politycorr  polcon5 tortureratobjections if  torturerat==1  & ltorturerat==0 & country!="Qatar", robust 
outreg using c:\table2, replace onecol 3aster
xi: nbreg  tortureratnumberrudsjls2 torture politycorr  polcon5 tortureratobjections if  torturerat==1 & ltorturerat==0, robust
outreg using c:\table2, append onecol 3aster
xi: nbreg  womenconvnumberruds womensgeneralrights  politycorr  polcon5 womenconvobjections muslim2 if  womenconvrat==1  & lwomenconvrat==0 & country!="Mauritania" & country!="Pakistan" & country!="Saudi Arabia" & country!="Tunisia", robust 
outreg using c:\table2, append onecol 3aster
xi: nbreg  womenconvnumberrudsjls2 womensgeneralrights  politycorr  polcon5 womenconvobjections muslim2 if  womenconvrat==1 & lwomenconvrat==0, robust 
outreg using c:\table2, append onecol 3aster
xi: nbreg  childconvnumberruds nonlaborforcechild politycorr polcon5 childconvobjections muslim2 if  childconvrat==1 &  lchildconvrat==0 & childconvnumberruds==childconvnumberrudsjls, robust 
outreg using c:\table2, append onecol 3aster
xi: nbreg  childconvnumberrudsjls nonlaborforcechild politycorr polcon5 childconvobjections muslim2 if  childconvrat==1  & lchildconvrat==0, robust  
outreg using c:\table2, append onecol 3aster

* Heckman sample selection model
xi: heckman  iccprmainnumberruds ptscorrectedrev  politycorr polcon5 iccprmainobjections, sel(iccprmainrat = ptscorrectedrev  politycorr polcon5 igointerpolated i.year ) robust cluster(country) 
outreg using c:\table1, replace onecol 3aster
xi: heckman  iccprmainnumberruds civilrightsreversed  politycorr polcon5 iccprmainobjections, sel(iccprmainrat = civilrightsreversed  politycorr polcon5 igointerpolated i.year ) robust cluster(country)  
outreg using c:\table1, append onecol 3aster
xi: heckman  icesrconvruds  politycorr polcon5 icesrconvobjections, sel(icesrconvrat = politycorr polcon5 igointerpolated i.year ) robust cluster(country)
outreg using c:\table1, append onecol 3aster
xi: heckman  raceconvruds  politycorr polcon5 raceconvobjections, sel(raceconvratjls = politycorr polcon5 igointerpolated i.year ) robust cluster(country)
outreg using c:\table1, append onecol 3aster
* Note: heckman model is not concave with robust cluster(country) in following regression 
xi: heckman  raceconvrudsjls  politycorr polcon5 raceconvobjections, sel(raceconvrat = politycorr polcon5 igointerpolated i.year ) twostep
outreg using c:\table1, append onecol 3aster

* Note: heckman model is not concave with robust cluster(country)  in following regression
xi: heckman  tortureratnumberruds torture politycorr  polcon5 tortureratobjections if  country!="Qatar", sel (torturerat = torture politycorr  polcon5 igointerpolated i.year ) twostep
outreg using c:\table2, replace onecol 3aster
* Note: heckman model is not concave with robust cluster(country)  in following regression
xi: heckman  tortureratnumberrudsjls2 torture politycorr  polcon5 tortureratobjections , sel (torturerat = torture politycorr  polcon5 igointerpolated i.year ) twostep
outreg using c:\table2, append onecol 3aster
* Note: heckman model is not concave with robust cluster(country)  in following regression
xi: heckman  womenconvnumberruds womensgeneralrights  politycorr  polcon5 womenconvobjections muslim2 if   country!="Mauritania" & country!="Pakistan" & country!="Saudi Arabia" & country!="Tunisia", sel(womenconvrat = womensgeneralrights  politycorr  polcon5 muslim2 igointerpolated i.year ) twostep 
outreg using c:\table2, append onecol 3aster
xi: heckman  womenconvnumberrudsjls2 womensgeneralrights  politycorr  polcon5 womenconvobjections muslim2 , sel(womenconvrat = womensgeneralrights  politycorr  polcon5 muslim2 igointerpolated i.year ) robust cluster(country) 
outreg using c:\table2, append onecol 3aster
xi: heckman  childconvnumberruds nonlaborforcechild politycorr polcon5 childconvobjections muslim2 if  childconvnumberruds==childconvnumberrudsjls, sel(childconvrat = nonlaborforcechild politycorr polcon5 muslim2 igointerpolated i.year ) robust cluster(country)
outreg using c:\table2, append onecol 3aster
xi: heckman  childconvnumberrudsjls nonlaborforcechild politycorr polcon5 childconvobjections muslim2 , sel(childconvrat = nonlaborforcechild politycorr polcon5 muslim2 igointerpolated i.year ) robust cluster(country)
outreg using c:\table2, append onecol 3aster





